package com.xzp.blog.entity.vo;

import com.xzp.blog.entity.Tag;

public class TagView {

    private Integer tagId;  //标签id
    private String tagName;  //标签内容
    private Integer articleCount;  //拥有该标签的文章数量


    public TagView(Tag tag) {

        this.tagId = tag.getId();
        this.tagName = tag.getName();
    }

    public TagView() {
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public Integer getArticleCount() {
        return articleCount;
    }

    public void setArticleCount(Integer articleCount) {
        this.articleCount = articleCount;
    }
}
